package cn.miwu52.homeworkerp.bean;

import java.sql.Timestamp;

public class User {
    private Integer id;
    private String userName;
    private String passWord;
    private String phone;
    private Integer totalInEntrepot;
    private Integer totalOutEntrepot;
    private Timestamp regTime;
    private Timestamp loginTime;
    private String grade;

    public User() {
    }

    public User(Integer id, String userName, String passWord, String phone, Integer totalInEntrepot, Integer totalOutEntrepot, Timestamp regTime, Timestamp loginTime, String grade) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.phone = phone;
        this.totalInEntrepot = totalInEntrepot;
        this.totalOutEntrepot = totalOutEntrepot;
        this.regTime = regTime;
        this.loginTime = loginTime;
        this.grade = grade;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getTotalInEntrepot() {
        return totalInEntrepot;
    }

    public void setTotalInEntrepot(Integer totalInEntrepot) {
        this.totalInEntrepot = totalInEntrepot;
    }

    public Integer getTotalOutEntrepot() {
        return totalOutEntrepot;
    }

    public void setTotalOutEntrepot(Integer totalOutEntrepot) {
        this.totalOutEntrepot = totalOutEntrepot;
    }

    public Timestamp getRegTime() {
        return regTime;
    }

    public void setRegTime(Timestamp regTime) {
        this.regTime = regTime;
    }

    public Timestamp getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Timestamp loginTime) {
        this.loginTime = loginTime;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
}
